package org.lagou.bean;

public class UserBean {
	private int id;//用户id
	private String name;//用户名
	private String pwd;//密码
	private String tel;//用户电话
	private int type;//用户类别（1、个人找工作，2、公司招人，3、后台管理员）
	private int state;//认证状态0、个人找工作没有认证状态，1、没认证，2、等待认证，3、第一次认证成功，4、认证成功
	private String email;
	private int del;//是否删除0、账号可用，1、账号禁用
	private String date;//时间
	@Override
	public String toString() {
		return "UserBean [id=" + id + ", name=" + name + ", pwd=" + pwd + ", tel=" + tel + ", type=" + type + ", state="
				+ state + ", email=" + email + ", del=" + del + ", date=" + date + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getDel() {
		return del;
	}
	public void setDel(int del) {
		this.del = del;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public UserBean(int id, String name, String pwd, String tel, int type, int state, String email, int del,
			String date) {
		super();
		this.id = id;
		this.name = name;
		this.pwd = pwd;
		this.tel = tel;
		this.type = type;
		this.state = state;
		this.email = email;
		this.del = del;
		this.date = date;
	}
	
	public UserBean(int id, String pwd) {
		super();
		this.id = id;
		this.pwd = pwd;
	}
	public UserBean(int id, int del) {
		super();
		this.id = id;
		this.del = del;
	}
	
	public UserBean(int id, String name,String date) {
		super();
		this.id = id;
		this.name = name;
		this.date = date;
	}
	public UserBean(String name, String pwd, String tel, int type, String email, int del) {
		super();
		this.name = name;
		this.pwd = pwd;
		this.tel = tel;
		this.type = type;
		this.email = email;
		this.del = del;
	}
	public UserBean() {
		super();
	}
	
}
